#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=95
STOP=00

PATH="/bin:/sbin:/usr/bin:/usr/sbin"

start () {


echo 1 > /sys/class/leds/soc\:blue\:phone/brightness

sleep 1

echo 0 >        /sys/class/leds/soc\:red\:power/brightness
echo 0 >        /sys/class/leds/soc\:orange\:power/brightness
echo 0 >        /sys/class/leds/soc\:blue\:power/brightness
echo 0 >        /sys/class/leds/soc\:red\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:orange\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:blue\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:orange\:wireless/brightness
echo 0 >        /sys/class/leds/soc\:blue\:wireless/brightness
echo 0 >        /sys/class/leds/soc\:orange\:phone/brightness
echo 0 >        /sys/class/leds/soc\:blue\:phone/brightness

sleep 1
echo 1 >        /sys/class/leds/soc\:red\:power/brightness
echo 1 >        /sys/class/leds/soc\:orange\:power/brightness
echo 1 >        /sys/class/leds/soc\:blue\:power/brightness
echo 1 >        /sys/class/leds/soc\:red\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:orange\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:blue\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:orange\:wireless/brightness
echo 1 >        /sys/class/leds/soc\:blue\:wireless/brightness
echo 1 >        /sys/class/leds/soc\:orange\:phone/brightness
echo 1 >        /sys/class/leds/soc\:blue\:phone/brightness

sleep 1
echo 0 >        /sys/class/leds/soc\:red\:power/brightness
echo 0 >        /sys/class/leds/soc\:orange\:power/brightness
echo 0 >        /sys/class/leds/soc\:blue\:power/brightness
echo 0 >        /sys/class/leds/soc\:red\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:orange\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:blue\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:orange\:wireless/brightness
echo 0 >        /sys/class/leds/soc\:blue\:wireless/brightness
echo 0 >        /sys/class/leds/soc\:orange\:phone/brightness
echo 0 >        /sys/class/leds/soc\:blue\:phone/brightness

sleep 1
echo 1 >        /sys/class/leds/soc\:red\:power/brightness
echo 1 >        /sys/class/leds/soc\:orange\:power/brightness
echo 1 >        /sys/class/leds/soc\:blue\:power/brightness
echo 1 >        /sys/class/leds/soc\:red\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:orange\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:blue\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:orange\:wireless/brightness
echo 1 >        /sys/class/leds/soc\:blue\:wireless/brightness
echo 1 >        /sys/class/leds/soc\:orange\:phone/brightness
echo 1 >        /sys/class/leds/soc\:blue\:phone/brightness

sleep 1
echo 0 >        /sys/class/leds/soc\:red\:power/brightness
echo 0 >        /sys/class/leds/soc\:orange\:power/brightness
echo 0 >        /sys/class/leds/soc\:blue\:power/brightness
echo 0 >        /sys/class/leds/soc\:red\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:orange\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:blue\:broadband/brightness
echo 0 >        /sys/class/leds/soc\:orange\:wireless/brightness
echo 0 >        /sys/class/leds/soc\:blue\:wireless/brightness
echo 0 >        /sys/class/leds/soc\:orange\:phone/brightness
echo 0 >        /sys/class/leds/soc\:blue\:phone/brightness

}

stop() {
echo 1 >        /sys/class/leds/soc\:red\:power/brightness
echo 1 >        /sys/class/leds/soc\:orange\:power/brightness
echo 1 >        /sys/class/leds/soc\:blue\:power/brightness
echo 1 >        /sys/class/leds/soc\:red\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:orange\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:blue\:broadband/brightness
echo 1 >        /sys/class/leds/soc\:orange\:wireless/brightness
echo 1 >        /sys/class/leds/soc\:blue\:wireless/brightness
echo 1 >        /sys/class/leds/soc\:orange\:phone/brightness
echo 1 >        /sys/class/leds/soc\:blue\:phone/brightness
sleep 1

echo 0 > /sys/class/leds/soc\:blue\:phone/brightness
}

